package com.suyang.syt.model.dto;

import com.suyang.syt.model.UserGroup;

@SuppressWarnings("serial")
public class UserGroupDTO extends UserGroup {

	/** 用户名 */
	private String userName;

	/** 组名 */
	private String groupName;

	/** 课时 */
	private int classHour;

	/** 成员数量 */
	private long membersNum;

	/** 教师名字 */
	private String teacherName;

	public UserGroupDTO() {

	}

	public UserGroupDTO(UserGroup userGroup) {
		this.setId(userGroup.getId());
		this.setCreateName(userGroup.getCreateName());
		this.setCreateTime(userGroup.getCreateTime());
		this.setModifyName(userGroup.getModifyName());
		this.setModifyTime(userGroup.getModifyTime());
		this.setLogo(userGroup.getLogo());
		this.setUserId(userGroup.getUserId());
		this.setGroupId(userGroup.getGroupId());
		this.setStatus(userGroup.getStatus());
	}

	public int getClassHour() {
		return classHour;
	}

	public void setClassHour(int classHour) {
		this.classHour = classHour;
	}

	public long getMembersNum() {
		return membersNum;
	}

	public void setMembersNum(long membersNum) {
		this.membersNum = membersNum;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

}
